FROM tencent-ssv-docker.pkg.coding.net/techinfra/docker_public/tlinux:3.1-mini

RUN mkdir -p /data/app/bin /data/app/configs

COPY ./bin /data/app/bin
# COPY ./configs/server.toml /data/app/configs/server.toml

RUN chmod a+x /data/app/bin/* \
    && yum install -y net-tools \
    && yum install -y iproute \
    && yum install -y telnet \
    && yum install -y nmap-ncat \
    && yum install -y iproute 


WORKDIR /data/app/

CMD ["./bin/be-tpl-golang-web-svr", "-conf", "./configs"]

